package com.zz.parkingsystem.service.impl;

import com.zz.parkingsystem.entity.Section;
import com.zz.parkingsystem.mapper.SectionMapper;
import com.zz.parkingsystem.service.PCSecService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PCSecServiceImpl implements PCSecService {
    @Resource
    private SectionMapper sectionMapper;
    @Override
    public List<Section> getAllsec() {
        return sectionMapper.getAllsec();
    }

    @Override
    public int insertSelective(Section record) {
        return sectionMapper.insertSelective(record);
    }
}
